<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
    <div align="center" th:border="1" >
      <form action="/user/updateUser" method="post" th:object="${findId}">
        <input type="hidden" name="id" th:value="${findId.id}" ><br>
        姓名:<input type="text" name="nam" th:value="${findId.nam}"><br>
        密码: <input type="password" name="pwd" th:value="${findId.pwd}"><br>
        性别:<input type="text" name="sex" th:value="${findId.sex}==1?'男':'女'"><br>
        生日:<input type="date" name="birth" th:value="${findId.birth}">
        <input type="submit" value="修改">
      </form>
    </div>
</body>
</html>